package com.its.us.web.controller.sys;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;

/**
 * @className IndexController
 * @author huguangjun
 * @date 2020/12/3
 * @desc 9:17
 */
@Controller
public class IndexController {
    /**
     * 名字的内容..
     */
    @RequestMapping("/")
    public String index(HttpServletResponse response) {
        /**可以防止index首页被浏览器缓存*/
        response.addHeader("Cache-Control", "no-store");
//        return "index";
        return "login";
    }
}
